Version

EnsureItemDoesntOverlap(ILayoutItem,ILayoutItem[],Hashtable,Boolean,Boolean,Boolean) Method

For Internal Use Only. Shifts all the items to the right and below as necessary to ensure that the layoutItem doesn't overlap with any layoutItems to the right or below it.
Syntax
'Declaration
 
Public Overloads Shared Sub EnsureItemDoesntOverlap( _
   ByVal layoutItem As ILayoutItem, _
   ByVal layoutItems() As ILayoutItem, _
   ByVal hash As Hashtable, _
   ByVal right As Boolean, _
   ByVal below As Boolean, _
   ByVal belowFirst As Boolean _
) 
public static void EnsureItemDoesntOverlap( 
   ILayoutItem layoutItem,
   ILayoutItem[] layoutItems,
   Hashtable hash,
   bool right,
   bool below,
   bool belowFirst
)

Parameters

layoutItem
The LayoutItem being span resized
layoutItems
An array of all the layout items in the layout
hash
A hashtable where the keys are the visible ILayoutItems and the values are the GridBagConstraint objects.
right
Whether items should be shifted to the right.
below
Whether items shoudl be shifted below.
belowFirst
Whether items should be positioned below as the first action.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also